package org.iteam.xlz.core.entity.order;

import java.sql.Date;

/**
 * 订单信息
 * @author tony
 * @version 1.0
 * @created 18-九月-2016 22:27:26
 */
public class OrderInfo {
	public String oid;
	public String uid;
	public String pid;
	private String tid;
	private String rid;
	private String ppid;
	private String tradeNo;
	/**
		订单类型
		0：商品交易（票券交易）
		1：会员卡充值（充值卡充值）
		2：道乐充值（充值卡充值）
		3：商品配送交易（物流配送）
		4：票券交易（物流配送票券交易）
	 */
	private int ordertype;
	public String totalprice;
	public String amount;
	/**
	 * 支付方式
		-1：未知
		0：券票
		1：在线支付（微信支付）
		2：会员卡支付
		3：在线支付（支付宝支付）
		4：在线支付（银联支付）
		5：道乐支付
	 */
	public int paytype;
	/**
	 * 状态
	 * 0：待付款
	 * 1：待收货
	 * 2：完成
	 * 3:退款/货关闭
	 * 4:发货
	 */
	public int status;
	/**
	 * 支付时间
	 */
	private String payTime;
	private String thirdid;
	public String createtime;
	/**
	 * 票券用户关系对应表ID
	 */
	private String tuid;
	private String mobile;
	private String linkman;
	private String addr;
	
	/**
	 * 发货
	 */
	private String serialNo; //物流单号
	private Date deliverTime;  //发货时间
	private String deliverStatus;  //发货状态
	
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getLinkman() {
		return linkman;
	}
	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getTotalprice() {
		return totalprice;
	}
	public void setTotalprice(String totalprice) {
		this.totalprice = totalprice;
	}
	public String getAmount() {
		return amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}
	public int getPaytype() {
		return paytype;
	}
	public void setPaytype(int paytype) {
		this.paytype = paytype;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getTid() {
		return tid;
	}
	public void setTid(String tid) {
		this.tid = tid;
	}
	public String getRid() {
		return rid;
	}
	public void setRid(String rid) {
		this.rid = rid;
	}
	public String getPpid() {
		return ppid;
	}
	public void setPpid(String ppid) {
		this.ppid = ppid;
	}
	public String getTradeNo() {
		return tradeNo;
	}
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	public int getOrdertype() {
		return ordertype;
	}
	public void setOrdertype(int ordertype) {
		this.ordertype = ordertype;
	}
	public String getPayTime() {
		return payTime;
	}
	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}
	public String getThirdid() {
		return thirdid;
	}
	public void setThirdid(String thirdid) {
		this.thirdid = thirdid;
	}
	public String getTuid() {
		return tuid;
	}
	public void setTuid(String tuid) {
		this.tuid = tuid;
	}
	public String getSerialNo() {
		return serialNo;
	}
	public void setSerialNo(String serialNo) {
		this.serialNo = serialNo;
	}
	public Date getDeliverTime() {
		return deliverTime;
	}
	public void setDeliverTime(Date deliverTime) {
		this.deliverTime = deliverTime;
	}
	public String getDeliverStatus() {
		return deliverStatus;
	}
	public void setDeliverStatus(String deliverStatus) {
		this.deliverStatus = deliverStatus;
	}

}